package SEApp.dialogs
{
	import SEApp.se_app;
	
	import UIFree.components.uif_window;
	import UIFree.uif_component;

	public class se_dialog extends uif_window {
		public function se_dialog(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, asModal: Boolean = false, canClose: int=2) {
			super(parent, ax, ay, awidth, aheight, 'window', asModal, canClose);
			if (!ax && !ay) toCenter();
		}
		
		public function get seApp(): se_app {
			return app as se_app;
		}
		
		public function get appData(): Object {
			return (app as Object).classes.data;
		}
	}
}